package com.elvish.efast.model.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * (TPermission)实体类
 *
 * @author makejava
 * @since 2018-11-19 14:22:46
 */
@Data
public class Permission implements Serializable {
    private static final long serialVersionUID = -94848787431290801L;
    /**
     * 主键ID
     */
    private String id;
    /**
     * 权限编码
     */
    private String permissionCode;
    /**
     * 权限名称
     */
    private String permissionName;
    /**
     * 权限类型
     */
    private String type;
    /**
     * 父类权限ID（依赖权限）
     */
    private String pid;

    private String typeName;

    private boolean open = true;

    private boolean checked = false;

    private List<Permission> children;

}